package com.wiken.orderservice.service;

import com.wiken.orderservice.entity.OrderCommodity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wiken
 * @since 2022-12-28
 */
public interface IOrderCommodityService extends IService<OrderCommodity> {
    boolean addOrderCommodity(OrderCommodity orderCommodity);

    List<OrderCommodity> getOrderCommodityListByCommodityList(List<OrderCommodity> orderCommodities);

    boolean updateOrderCommodityStatus(String orderCommodityId, Integer status);
}
